<?php
/**
 * Elgg default layout
 *
 * @package Elgg
 * @subpackage Core
 */

global $CONFIG;

if (isset($vars['group_name'])) {
	$groupname = $vars['group_name'];
} else {
	$groupname = "main";
}

if (isset($vars['submenu'])) {
	$submenu = "<div id='elgg_horizontal_tabbed_nav'><ul>" . $vars['submenu'] . "</ul></div>";        
	echo "<div class=\"submenu_group\"><div class=\"submenu_group_{$groupname}\">{$submenu}</div></div>";
}
